package com.example.base.entity

import com.flyco.tablayout.listener.CustomTabEntity

/**
 * commonTablayout实体类
 */
data class MyTabEntity(
    val title:String,
    val selectedIcon:Int,
    val unselectedIcon:Int
):CustomTabEntity{
    override fun getTabTitle(): String {
        return title
    }

    override fun getTabSelectedIcon(): Int {
        return selectedIcon
    }

    override fun getTabUnselectedIcon(): Int {
        return unselectedIcon
    }
}
